
from django.urls import path, re_path
from django.urls.converters import IntConverter
from . import views

urlpatterns = [

    # 子--类视图(返回来的函数)
    path('parse/', views.ParseArgumentsView.as_view()),

    # 路径参数 --解析
    # re_path('^users/(\d+)/$', views.UrlView.as_view()),
    # path('users/<int:pk>/', views.UrlView.as_view()),

    # 路由转换器 converter
    # re_path('^users/(1[3-9]\d{9})/$', views.UrlView.as_view()),
    path('users/<mobile:mobile>/', views.UrlView.as_view()),
]
